Description:
1. <API32\NT Service\Rockey6SmartSvc.exe> is the service program of ROCKEY6SMART, it runs independently without other DLLs; referring to the sample project you will get insight on how to install and use this service.
2. <API32\NT Service\Dic32Svc.dll> and Dic32Svc.lib are library calling by end user
3. dic32.h is the standard header file of ROCKEY6SMART released version
4. Before using this samle, please install the service and enable it referring to the tool located in <API32\NT Service\Rockey6SmartSvc.exe> 

Running process
Install service program - 
     Perform  "rockey6smartsvc install start" with the Administrator privilege

Note
1. NULL parameter is unacceptable by service program
2. String parameter is unacceptable by service program directly, which need to be copied and stored at the location pointed by a variable and then pass in
3. The Input/Output buffer of service program is 2048 byte

Process Method: 
      char cmddata[2048];	// command buffer
      char buffer[2048];	// user buffer
      char temNull[20]={0} ;
      int errcode  = 0 ;

      memset(temNull, 0 , sizeof( temNull) );
      errcode = DIC_Set(cmddata, FILL, 256, 0, temNull);				
      errcode = DIC_Set(cmddata, DIR_ID, BY_VALUE, 0x1000, temNull);	// directory ID
      errcode = DIC_Set(cmddata, DIR_CLASS, BY_VALUE, 0xff, temNull);	// directory category
      strcpy( buffer , "Dir1" ) ;                                       // variable assignment
      errcode = DIC_Set(cmddata, DIR_NAME, BY_ARRAY, 0, buffer);	// long file name of directory
      
Other samples are provided in VC folder